<h1>Listing societes</h1>

<table>
  <tr>
    <th>Nom</th>
    <th>Numero tva</th>
    <th>Exoneration tva</th>
    <th>Limite de credit</th>
  </tr>

<% for societe in @societes %>
  <tr>
    <td><%=h societe.nom %></td>
    <td><%=h societe.numero_tva %></td>
    <td><%=h societe.exoneration_tva %></td>
    <td><%=h societe.limite_de_credit %></td>
    <td><%= link_to 'Show', societe %></td>
    <td><%= link_to 'Edit', edit_societe_path(societe) %></td>
    <td><%= link_to 'Destroy', societe, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New societe', new_societe_path %>
